using System;
using Castle.MonoRail.Framework;

namespace ElevatorSpeeches.ViewComponents
{
    public class NounListComponent : ViewComponent
    {

        public override void Render()
        {
            PropertyBag["topics"] = ElevatorSpeeches.Framework.SpeechTopic.FindAll();         
            base.Render();
        }

    }
}
